home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 40 / PC Gamer IT CD 40 1-2.iso / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 1002 < prev    next >
Text File  |  1997-02-20  |  3KB  |  74 lines

  1. // -----
  2. // VDL1002.txt
  3. // Copyright 1996 SPI
  4. // -----
  5.  
  6.  
  7. //Generic PromptForString
  8.  
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12.  
  13. //This section contains all localizable string constants for this VDL program. Be sure to 
  14. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  15. //You may also flatten multiline constants into a single line, if you prefer
  16.  
  17. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  18. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  19. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  20.  
  21.  
  22.  
  23. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  24. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  25. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  26.  
  27. //This section contains integer constants that are used to format this VDL program.
  28. //These are localizable - they only need to be changed if the localized strings 
  29. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  30. #define kDialogWidth 350
  31.  
  32. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  33. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  34. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  35.  
  36. //No further localizable data past this point
  37.  
  38. /************************** END LOCALIZABLE DATA ***************************************************/
  39. /************************** END LOCALIZABLE DATA ***************************************************/
  40. /************************** END LOCALIZABLE DATA ***************************************************/
  41.  
  42. #ifndef PROMPT_FOR_NUMBER
  43. #define PROMPT_FOR_NUMBER 0
  44. #endif
  45.  
  46. #ifndef BULLET_TEXT
  47. #define BULLET_TEXT 0
  48. #endif
  49.  
  50. #if BULLET_TEXT
  51. #define Edit_Params   Width = UseParent ,BackColor = White, DisplayAsBullets
  52. #else
  53. #define Edit_Params    Width = UseParent ,BackColor = White
  54. #endif
  55.  
  56. Margin(10,10,10,10, BackColor =  Dialog, Width = kDialogWidth)
  57.     VList(Width = UseParent)
  58.         {
  59.         StaticText(prompt, Width = UseParent);
  60.         
  61.         Spacer(Height = 6, Width = 0, ScaleV);
  62.         
  63.         #if PROMPT_FOR_NUMBER
  64.         EditText(result, Signed(32), Width = UseParent, BackColor = White );
  65.         #else
  66.         EditText(result, Edit_Params);
  67.         #endif
  68.         
  69.         Spacer(Height = 10, Width = 0, ScaleV);
  70.         
  71.     
  72.         StandardDialogButtonsH;        
  73.         } //VList
  74.